package cn.appinfodb.service;

import java.util.List;

import cn.appinfodb.pojo.AppCategory;
import cn.appinfodb.pojo.DataDictionary;
import cn.appinfodb.pojo.DevUser;
import cn.appinfodb.pojo.Info;


import org.apache.ibatis.annotations.Param;


public interface DevUserService {
	/**
	 * �û���¼
	 * @param devCode
	 * @param devPassword
	 * @return
	 */
	public DevUser login(String devCode,String devPassword) throws Exception;
	
	public List<Info> getInfoList(String querySoftwareName,
			Integer queryStatus, Integer queryFlatfromId,
			Integer queryCategoyrLevel, Integer queryCategoyrLeve2, 
			Integer queryCategoyrLeve3, Integer queryDevId,
			Integer currentPageNo, Integer pageSize) throws Exception;
	
	public int getInfoCount(String querySoftwareName, Integer queryStatus, 
			                   Integer queryFlatfromId,
			                 Integer queryCategoyrLevel, Integer queryCategoyrLeve2, 
			                 Integer queryCategoyrLeve3, Integer queryDevId)
			throws Exception;
	public boolean add(Info info) throws Exception;
	
	public List<DataDictionary> getDataDictionaryList(String typeCode)throws Exception;
	public List<AppCategory> getAppCategoryListByparentId(Integer parentId)throws Exception;
}
